package service;

import po.ComboboxItem;
import po.Cpu;
import po.Result;

import java.util.List;

public interface CpuService {
    public List<Cpu> findAllCpus(Cpu cpu) throws Exception;
    public Result addCpu(Cpu cpu);
    public Result deleteCpuById(int id);
    public List<ComboboxItem> findCpuForComb() throws Exception;
    public Result updateCpuById(int id, Cpu cpu);
}
